---
title: Indent Toolbar Button
description: Indent text or content to create visual hierarchy or structure.
component: true
docs:
  - route: /docs/indent
    title: Indent
  - route: /docs/components/toolbar
    title: Toolbar
---

## Installation

<Tabs defaultValue="cli">

<TabsList>
<TabsTrigger value="cli">CLI</TabsTrigger>
<TabsTrigger value="manual">Manual</TabsTrigger>
</TabsList>
<TabsContent value="cli">

```bash
npx @udecode/plate-ui@latest add indent-toolbar-button
```

</TabsContent>

<TabsContent value="manual">

<Steps>

<Step>

Install the following dependencies:

- [Indent](/docs/indent)
- [Toolbar](/docs/components/toolbar)

</Step>

<Step>

Copy and paste the following code into your project.

</Step>

<ComponentSource name="indent-toolbar-button" />

<Step>

Update the import paths to match your project setup.

</Step>

</Steps>

</TabsContent>

</Tabs>

## Examples

<ComponentPreview name="playground-demo" id="indent" />

<ComponentSource src="../../templates/plate-playground-template/src/components/plate-ui/fixed-toolbar-buttons.tsx" />
